'use strict';
const indexRouter = require('./routers/')
const userRouter = require('./routers/user')
const settingRouter = require('./routers/setting')
const channelRouter = require('./routers/category')
const articleRouter = require('./routers/article')
const uploadRouter = require('./routers/upload')
const permissionRouter = require('./routers/permission')
/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  indexRouter(app);
  userRouter(app);
  settingRouter(app);
  channelRouter(app);
  articleRouter(app);
  articleRouter(app);
  uploadRouter(app);
  permissionRouter(app);
};
